﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace SOAPServices.Dominio
{
    [DataContract]
    public class Vehiculo
    {
        [DataMember]
        public int Placa { get; set; }
        [DataMember]
        public string Marca { get; set; }
        [DataMember]
        public string Modelo { get; set; }
        [DataMember]
        public string Color { get; set; }
        [DataMember]
        public int Anio { get; set; }
        [DataMember]
        public int Eje { get; set; }
        [DataMember]
        public string Tipo { get; set; }
        [DataMember]
        public Empresa Empresa { get; set; }

        //No requeridas solo sirven de lectura peaje
        [DataMember (IsRequired=false) ]
        public double Precio { get; set; }
        [DataMember(IsRequired = false)]
        public double Total { get; set; }

        //No requeridas solo sirven de lectura detraccion
        [DataMember(IsRequired = false)]
        public double Precio2 { get; set; }
        [DataMember(IsRequired = false)]
        public double Total2 { get; set; }


    }
}